package p3as.cliente;

import java.awt.Graphics;
import java.io.Serializable;

public interface Drawable extends Serializable{
    public void addChild(Drawable drawable);
    public void removeChild(Drawable drawable);
    public Drawable getChild(int index);
    public int collision(Drawable drawable);
    public void render(Graphics graphics);
    public int getX();
    public int getY();
    public int getWidth();
    public int getHeigth();

    public void setScore(Score score);
}
